package dancetiktokenumsmongo

const (
	SoulMateDoTypeDefault = 0 //默认模式
	SoulMateDoTypeCreate  = 1 //创建
	SoulMateDoTypeCancel  = 2 //取消
)

type DanceRoomModelSoulMateLogEnums struct {
}

var DanceRoomModelSoulMateLogEnumsObject DanceRoomModelSoulMateLogEnums

func (e DanceRoomModelSoulMateLogEnums) SoulMateDoType() []int {
	return []int{
		SoulMateDoTypeDefault,
		SoulMateDoTypeCreate,
		SoulMateDoTypeCancel,
	}
}

func (e DanceRoomModelSoulMateLogEnums) SoulMateDoTypeMap() map[int]int {
	m := make(map[int]int)
	for _, s := range e.SoulMateDoType() {
		m[s] = s
	}
	return m
}

func (e DanceRoomModelSoulMateLogEnums) SoulMateDoTypeString(tag int) string {
	switch tag {
	case SoulMateDoTypeDefault:
		return "默认" //对战模式 （默认模式）
	case SoulMateDoTypeCreate:
		return "知己" //休闲模式（组合模式）
	case SoulMateDoTypeCancel:
		return "取消知己" //结婚模式
	default:
		return "未知"
	}
}
